package com.example.libraryapp.fragment.category;

import com.example.libraryapp.bean.BookType;
import com.example.libraryapp.bean.response.BaseResponse;
import com.example.libraryapp.network.base.IBaseView;

import java.util.List;

/**
 * @author 伍凯铭
 * @since 2020/6/19
 */
public interface CategoryContract {

    interface View extends IBaseView {
        void showAllBookType(BaseResponse<List<BookType>> response);
    }

    interface Presenter {
        void getAllBookType();
    }
}
